package com.guigu.pd.serviceapi.basefeign;

import com.guigu.pd.serviceapi.pojo.TransportTripsTruckDriver;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "pd-base",path = "base/transporttripstruckdriver")
public interface TransportTripsTruckDriverFeign {

    //根据车次id去 pd_transport_trips_truck_driver 车次与车辆和司机关联表 查询数据
    @GetMapping("/queryTransportTripsTruckDriverbytransportTripsId/{transportTripsId}")
    List<TransportTripsTruckDriver> queryTransportTripsTruckDriverbytransportTripsId(@PathVariable("transportTripsId") String transportTripsId);

}
